package com.homeWork;

public class Students extends Person1 {
    private int studentsID;
    private String object;
    private String time;

    public Students(String name, String sex, int age, int studentsID, String object, String time) {
        super(name, sex, age);
        this.studentsID = studentsID;
        this.object = object;
        this.time = time;
    }

    public Students() {

    }

    public int getStudentsID() {
        return studentsID;
    }

    public void setStudentsID(int studentsID) {
        this.studentsID = studentsID;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
